package com.xnewtech.xplatform.swan.register.core.menus;

import com.xnewtech.xplatform.swan.libs.scanner.stereotype.ApiResource;
import com.xnewtech.xplatform.swan.model.web.response.ResponseData;
import org.springframework.web.bind.annotation.RestController;

/**
 * demo菜单标识控制器
 *
 * @author xnew
 * @Date 2019/9/17 17:47
 */
@RestController
@ApiResource(name = "demo所有菜单", path = "/demoMenus")
public class DemoMenuFlagController {

    @ApiResource(name = "demo菜单", path = "/demoMenu", menuFlag = true)
    public ResponseData demoMenu() {
        return ResponseData.success();
    }

}
